package com.xebia.pomodoro.event
{
	import flash.events.Event;

	public class LoginEvent extends Event
	{

		public static const LOGIN_EVENT:String = "loginEvent";

		private var _userName:String;

		private var _groupName:String;

		public function LoginEvent(groupName:String, userName:String, bubbles:Boolean = false, cancelable:Boolean = false)
		{
			this._groupName = groupName;
			this._userName = userName;
			super(LOGIN_EVENT, bubbles, cancelable);
		}

		public function get userName():String
		{
			return _userName;
		}

		public function get groupName():String
		{
			return _groupName;
		}
	}
}
